package judesart.app.shared;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class SearchResult<Data> implements Serializable
{
    private static final long serialVersionUID = 1L;

    private List<Data> results = new ArrayList<Data>();
    private int count;

    public SearchResult()
    {
        super();
    }

    public SearchResult(List<Data> results, int count)
    {
        super();
        this.results = results;
        this.count = count;
    }

    public List<Data> getResults()
    {
        return results;
    }

    public void setResults(List<Data> results)
    {
        this.results = results;
    }

    public int getCount()
    {
        return count;
    }

    public void setCount(int count)
    {
        this.count = count;
    }

}
